﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@include file="../common/base.jsp"%>
<title>无标题页</title>
<link rel="stylesheet" type="text/css"
	href="${ctx}/staticweb/css/index.css">
<script language="javascript" type="text/javascript">
</script>
</head>
<body class="mian_bj">
	<form action="${ctx}/store/selStockMasters.do" method="post">
		<div class="mian_top_01">
			<div class="mian_top_r"></div>
			<div class="mian_b">
                <div class="mian_b1">
                    <p class="mian_b1_sousuo">
                        <input name="sbrand" placeholder="品牌" type="text" value="${sbrand}">
                    </p>
                    <p class="mian_b1_sousuo">
                        <input name="smodel" placeholder="型号" type="text" value="${smodel}">
                    </p>
                    <p class="mian_b1_sousuo">
                        <input name="scolor" placeholder="颜色" type="text" value="${scolor}">
                    </p>
                    <p class="mian_b1_sousuo">
                        <input name="ssize" placeholder="尺码" type="text" value="${ssize}">
                    </p>
                    <p style="width:48px;height: 26px;float: left;margin-top: 13px;margin-left: 30px;">
                       <button type="submit">搜索</button>
                    </p>
                </div>
				<table width="100%" border="0" cellpadding="0" cellspacing="0"
					class="mian_b_bg">
					<tr>
						<td width="10%" class="mian_b_bg_lm"><span></span>品牌</td>
						<td width="5%" class="mian_b_bg_lm"><span></span>型号</td>
						<td width="10%" class="mian_b_bg_lm"><span></span>颜色</td>
						<td width="10%" class="mian_b_bg_lm"><span></span>尺码</td>
						<td width="10%" class="mian_b_bg_lm"><span></span>总件数</td>
						<td width="10%" class="mian_b_bg_lm"><span></span>剩余件数</td>
						<td width="10%" class="mian_b_bg_lm"><span></span>价格</td>
						<td width="10%" class="mian_b_bg_lm"><span></span>供货商</td>
					</tr>
					<c:choose>
						<c:when test="${not empty pagination.data}">
							<c:forEach items="${pagination.data}" var="rowData">
								<tr>
									<td>${rowData.brand}</td>
									<td>${rowData.model}</td>
									<td>${rowData.color}</td>
									<td>${rowData.size}</td>
									<td>${rowData.total}</td>
									<td>${rowData.count}</td>
									<td>${rowData.price}</td>
									<td>${rowData.supplier}</td>
								</tr>
							</c:forEach>
						</c:when>
						<c:otherwise>
							<tr>
								<td colspan="8">没有库存</td>
							</tr>
						</c:otherwise>
					</c:choose>
				</table>
			</div>
			<div style="padding-left: 100px;margin:10px;">${pagination.pageStr}</div>
		</div>
	</form>
</body>
</html>
